var express = require('express');
var homepage = express.Router();
var homeControll=require('../controllers/homeController')

homepage.get('/article',function(req,res,next){
    console.log('article');
    homeControll.article(req,res)
});
homepage.get('/topic',function(req,res,next){
    homeControll.topic(req,res)
    console.log('topic')
});
module.exports = homepage;